package com.ruoyi.car.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购物车对象 shop_car
 * 
 * @author ruoyi
 * @date 2025-06-06
 */
public class ShopCar extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 商品名 */
    @Excel(name = "商品名")
    private String name;

    /** 价格 */
    @Excel(name = "价格")
    private String shopPrice;

    /** 数量 */
    @Excel(name = "数量")
    private String count;

    /** 图片路径 */
    @Excel(name = "图片路径")
    private String img;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setShopPrice(String shopPrice) 
    {
        this.shopPrice = shopPrice;
    }

    public String getShopPrice() 
    {
        return shopPrice;
    }

    public void setCount(String count) 
    {
        this.count = count;
    }

    public String getCount() 
    {
        return count;
    }

    public void setImg(String img) 
    {
        this.img = img;
    }

    public String getImg() 
    {
        return img;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("shopPrice", getShopPrice())
            .append("count", getCount())
            .append("img", getImg())
            .toString();
    }
}
